package one.stand.service;

import com.github.pagehelper.PageInfo;
import one.stand.exception.ParamException;
import one.stand.model.ResultModel;
import one.stand.request.essay.EssayVisitorsDataForm;
import one.stand.request.essay.EssayVisitorsDataRequest;
import one.stand.response.essay.EssayVisitorsDataResponse;

import java.util.List;

/**
 * <p>
 * 获客文章访客数据 服务类
 * </p>
 *
 * @author luoyang
 * @since 2020-05-07
 */
public interface IEssayVisitorsDataService  {

    ResultModel<PageInfo<EssayVisitorsDataResponse>> queryVisitorsData(EssayVisitorsDataRequest request);

    ResultModel<Boolean> addVisitorsData(EssayVisitorsDataForm request) throws ParamException;

}
